package com.pgytesting.secondhandcar.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 用户征信(CreditInformation)实体类
 *
 * @author makejava
 * @since 2019-08-12 18:55:58
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)   // 注解对对象空值进行json互转时的null值进行移除
public class CreditInformation implements Serializable {
    //ID
    @NotNull(message = "订单ID不能为空")
    private String id;
    //用户账号
    private String userNumber;
    //手机号
    @NotNull(message = "手机号不能为空")
    private String phoneNumber;
    //查询授权书
    @NotNull(message = "查询授权书不能为空")
    private String queryAuthorization;
    //手持身份证拍照
    @NotNull(message = "手持身份证拍照不能为空")
    private String handHeldIdCard;
    //创建人
    private String createdBy;
    //创建时间
    private Long createdTime;
    //更新人
    private String updatedBy;
    //更新时间
    private Long updatedTime;
    //状态 -1为删除或者异常，默认为0
    private Integer status;


}